﻿using System.Windows;
using Microsoft.Phone.Controls;
using INdTFramework.Controls.NotificationBox;

namespace CustomDialogBoxSample
{
    public partial class MainPage : PhoneApplicationPage
    {
        // Constructor
        public MainPage()
        {
            InitializeComponent();

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }

        private void ShowDialogClicked(object sender, RoutedEventArgs e)
        {
            NotificationTool.Show(
                "Exit",
                "This action will close this application and all data not saved will be deleted. Are you sure close the application?",
                new NotificationAction("Yes", () => { }),
                new NotificationAction("No", () => { }),
                new NotificationAction("Maybe", () => { }));
        }
    }
}